package Arrayex8;

public class Models {
	public int sumArrays(int[][] Darray,int n){
		int total=0;
		for (int i = 0; i < n; i++) {
				total=total+Darray[i][i];
			
			}
		 return total;
	}

}
